package liyujie.model;

public class Goods {
    int id;
    String name;
    float price;
    int typeId;
    int barndId;
    int num;
    int status;
    int promote;

    public Goods(int id, String name, float price, int typeId, int barndId, int num, int status, int promote) {
        this.id = id;
        this.name = name;
        this.price = price;
        this.typeId = typeId;
        this.barndId = barndId;
        this.num = num;
        this.status = status;
        this.promote = promote;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public float getPrice() {
        return price;
    }

    public void setPrice(float price) {
        this.price = price;
    }

    public int getTypeId() {
        return typeId;
    }

    public void setTypeId(int typeId) {
        this.typeId = typeId;
    }

    public int getBarndId() {
        return barndId;
    }

    public void setBarndId(int barndId) {
        this.barndId = barndId;
    }

    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public int getPromote() {
        return promote;
    }

    public void setPromote(int promote) {
        this.promote = promote;
    }
}
